package com.itheima.model.domain;

import java.util.Date;


public class User {
    private Integer id;
    private String username;
    private String password;
    private String sex;
    private String tel;
    private Date created;
    private String authority;

    public Integer getId() {return id;}

    public void setId(Integer id){this.id=id;}

    public String getUsername() {return username;}

    public void setUsername(String username){this.username=username;}

    public String getPassword() {return password;}

    public void setPassword(String password){this.password=password;}

    public String getSex() {return sex;}

    public void setSex(String sex){this.sex=sex;}

    public String getTel() {return tel;}

    public void setTel(String tel){this.tel=tel;}

    public Date getCreated() {return created;}

    public void setCreated(Date created){this.created=created;}

    public String getAuthority(){return authority;}

    public void setAuthority(String authority){this.authority=authority;}

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='"+username +'\'' +
                ", password='"+password +'\'' +
                ", sex='"+sex +'\'' +
                ", tel='" + tel + '\'' +
                ", created=" + created  +
                ", authority='" + authority  +'\''+
                '}';
    }


}
